//
//  ELHomeController.m
//  ELProject
//
//  Created by Yuki on 2021/4/9.
//

#import "ELHomeController.h"
#import "ELHomeView.h"
@interface ELHomeController ()
/**  主界面  **/
@property (nonatomic , strong)ELHomeView  *mainView;
@end

@implementation ELHomeController

- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    [[self rdv_tabBarController] setTabBarHidden:NO animated:NO];//默认隐藏tabbar
}


- (void)viewDidLoad {
    [super viewDidLoad];
    self.navView.hidden = YES;
    [self _setupView];
}

#pragma mark - --------- 设置界面  ---------
- (void)_setupView{
    self.mainView = [[ELHomeView alloc]init];
    [self.view addSubview:self.mainView];
    [self.mainView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.top.mas_equalTo(0);
    }];
}
@end
